package com.zt.controller;

import com.zt.service.WithdrawalService;
import com.zt.utils.Result;
import com.zt.vo.TransactionRecordVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("withdrawal")
public class WithdrawalController {

    @Resource
    private WithdrawalService withdrawalService;


    @GetMapping("pageCardBinding")
    public Result pageCardBinding(TransactionRecordVo transactionRecordVo) {
        return withdrawalService.pageCardBinding(transactionRecordVo);
    }
}
